home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 24 / CU Amiga Magazine's Super CD-ROM 24 (1998)(EMAP Images)(GB)(Track 1 of 2)[!][issue 1998-07].iso / CUCD / Utilities / vim-5.1 / src / proto.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-01-19  |  3.2 KB  |  146 lines

  1. /* vi:set ts=8 sts=4 sw=4:
  2.  *
  3.  * VIM - Vi IMproved    by Bram Moolenaar
  4.  *
  5.  * Do ":help uganda"  in Vim to read copying and usage conditions.
  6.  * Do ":help credits" in Vim to see a list of people who contributed.
  7.  */
  8.  
  9. /*
  10.  * proto.h: include the (automatically generated) function prototypes
  11.  */
  12.  
  13. /*
  14.  * Don't include these while generating prototypes.  Prevents problems when
  15.  * files are missing.
  16.  */
  17. #ifndef PROTO
  18.  
  19. /*
  20.  * Machine-dependent routines.
  21.  */
  22. # ifdef AMIGA
  23. #  include "os_amiga.pro"
  24. # endif
  25. # if defined(UNIX) || defined(__EMX__)
  26. #  include "os_unix.pro"
  27. #  ifndef HAVE_RENAME
  28.     int rename __ARGS((const char *, const char *));
  29. #  endif
  30. # endif
  31. # ifdef MSDOS
  32. #  include "os_msdos.pro"
  33. # endif
  34. # ifdef WIN32
  35. #  include "os_win32.pro"
  36. # endif
  37. # ifdef VMS
  38. #  include "os_vms.pro"
  39. # endif
  40. # ifdef __BEOS__
  41. #  include "os_beos.pro"
  42. # endif
  43. # ifdef macintosh
  44. #  include "os_mac.pro"
  45. # endif
  46.  
  47. # include "buffer.pro"
  48. # include "charset.pro"
  49. # include "digraph.pro"
  50. # include "edit.pro"
  51. # include "eval.pro"
  52. # include "ex_cmds.pro"
  53. # include "ex_docmd.pro"
  54. # include "ex_getln.pro"
  55. # include "fileio.pro"
  56. # include "getchar.pro"
  57. # include "main.pro"
  58. # include "mark.pro"
  59. # ifndef MESSAGE_FILE
  60. void
  61. #ifdef __BORLANDC__
  62. _RTLENTRYF
  63. #endif
  64. smsg __ARGS((char_u *, ...));    /* cannot be produced automatically */
  65. void
  66. #ifdef __BORLANDC__
  67. _RTLENTRYF
  68. #endif
  69. smsg_attr __ARGS((int, char_u *, ...));
  70. # endif
  71. # include "memfile.pro"
  72. # include "memline.pro"
  73. # include "message.pro"
  74. # include "misc1.pro"
  75. # include "misc2.pro"
  76. #ifndef HAVE_STRPBRK        /* not generated automatically from misc2.c */
  77. char_u *vim_strpbrk __ARGS((char_u *s, char_u *charset));
  78. #endif
  79. # include "normal.pro"
  80. # include "ops.pro"
  81. # include "option.pro"
  82. # include "quickfix.pro"
  83. # include "regexp.pro"
  84. # include "screen.pro"
  85. # include "search.pro"
  86. # include "syntax.pro"
  87. # include "tag.pro"
  88. # include "term.pro"
  89. # if defined(HAVE_TGETENT) && (defined(AMIGA) || defined(VMS))
  90. #  include "termlib.pro"
  91. # endif
  92. # include "ui.pro"
  93. # include "undo.pro"
  94. # include "version.pro"
  95. # include "window.pro"
  96.  
  97. # ifdef HAVE_PYTHON
  98. #  include "if_python.pro"
  99. # endif
  100.  
  101. # ifdef USE_GUI
  102. #  include "gui.pro"
  103. #  ifdef USE_GUI_WIN32
  104. #   include "gui_w32.pro"
  105. #   ifdef HAVE_OLE
  106. #    include "if_ole.pro"
  107. #   endif
  108. #  endif
  109. #  ifdef USE_GUI_MOTIF
  110. #   include "gui_motif.pro"
  111. #  endif
  112. #  ifdef USE_GUI_ATHENA
  113. #   include "gui_athena.pro"
  114. #  endif
  115. #  ifdef USE_GUI_BEOS
  116. #   include "gui_beos.pro"
  117. #  endif
  118. #  ifdef USE_GUI_MAC
  119. #   include "gui_mac.pro"
  120. extern int putenv __ARGS((char *string));        /* from pty.c */
  121. extern int OpenPTY __ARGS((char **ttyn));        /* from pty.c */
  122. #  endif
  123. #  ifdef USE_GUI_X11
  124. #   include "gui_x11.pro"
  125. extern int OpenPTY __ARGS((char **ttyn));    /* from pty.c */
  126. #  endif
  127. # endif    /* USE_GUI */
  128.  
  129. /*
  130.  * The perl include files pollute the namespace, therfore proto.h must be
  131.  * included before the perl include files.  But then CV is not defined, which
  132.  * is used in if_perl.pro.  To get around this, the perl prototype files are
  133.  * not included here for the perl files.  Use a dummy define for CV for the
  134.  * other files.
  135.  */
  136. #if defined(HAVE_PERL_INTERP) && !defined(IN_PERL_FILE)
  137. #   define CV void
  138. # include "if_perl.pro"
  139. # include "if_perlsfio.pro"
  140. #endif
  141.  
  142. #ifdef __BORLANDC__
  143. #define _PROTO_H
  144. #endif
  145. #endif /* PROTO */
  146.